/**
 * Created by liujiaxing on 2016/12/26.
 */

import ajax from '../../../../grsc-base/util/ajax';

export default {
    /**
     * 获取开放转出的币种列表
     * */
    withdrawAssetList(param = {}){
        return ajax.get('/exchangeApi/coin/withdraw-coin-asset-list',{
            data:param
        })
    },
    /**
     * 钱包管理——地址列表
     * @param assetCode pageSize pageNo
     * @return addressid  assetCode address memo updateDate
     */
    transferOutAddressQuery(param){
        return ajax.get('/exchangeApi/coin/transfer-out-address-query',{
            data:param
        })
    },
    /**
     * 钱包管理--添加地址
     * @param assetCode、address、memo
     * */
    transferOutAddressAdd(param){
        return ajax.post('/exchangeApi/coin/transfer-out-address-add',{
            data:param
        })
    },

    /**
     * 钱包管理--删除地址
     * @param id
     * */
    transferOutAddressDelete(param){
        return ajax.get('/exchangeApi/coin/transfer-out-address-delete',{
            data:param
        })
    },
}